x86/hvm: Make DRNG feature visible in CPUID
authorYang, Wei <wei.y.yang@intel.com>
Tue, 14 Jun 2011 11:44:48 +0000 (12:44 +0100)
committerYang, Wei <wei.y.yang@intel.com>
Tue, 14 Jun 2011 11:44:48 +0000 (12:44 +0100)
commit30090ad8567c97578099fb2aaec29a6a7c9f90a6
tree560b46395c1991719674d77519df7141bc7ef3cb
parent70c3da08fb4a7d158ebed65fb57ed741668b6a20
x86/hvm: Make DRNG feature visible in CPUID

This patch exposes DRNG feature to HVM guests.

The RDRAND instruction can provide software with sequences of
random numbers generated from white noise.

Signed-off-by: Yang, Wei <wei.y.yang@intel.com>
tools/libxc/xc_cpufeature.h
tools/libxc/xc_cpuid_x86.c
xen/include/asm-x86/cpufeature.h